package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.domain.SystemDictionaryItem;
import cn.wolfcode.rbac.query.QueryObject;
import cn.wolfcode.rbac.query.SystemDictionaryItemQuery;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    List<SystemDictionaryItem> selectForList(SystemDictionaryItemQuery qo);

    int updateByPrimaryKey(SystemDictionaryItem record);

    List<SystemDictionaryItem> findJobsOrSources(Integer parent_id);
}